#include <string>
#include <iostream>
using namespace std;


#include <cppunit/CompilerOutputter.h>
#include <cppunit/extensions/TestFactoryRegistry.h>
#include <cppunit/ui/text/TestRunner.h>
#ifdef _WIN32
#ifdef _DEBUG
#pragma comment(lib,"../vs2008/lib/cppunitd.lib")
#else
#pragma comment(lib,"../vs2008/lib/cppunit.lib")
#endif
#endif //_WIN32

#include "test_baseobject.h"
#include "test_logic.h"

//int main(int argc ,char *argv[])
int main()
{
	try{
		CppUnit::TextUi::TestRunner runner;
		CppUnit::TestFactoryRegistry &registry = CppUnit::TestFactoryRegistry::getRegistry();
		runner.addTest(registry.makeTest());
		return runner.run();
	}
	catch(...)
	{
		cout<<"Exception occur!!!!"<<endl;
	}
	return 0;
}
